package com.jkwzms.base.price.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import com.jkwzms.base.price.entity.PriceModel;
import com.jkwzms.common.repository.BaseRepository;

public interface PriceRepository extends BaseRepository<PriceModel, Long> {
    @Modifying
    @Query("from PriceModel where pid = ?1")
    List<PriceModel> findToPid(Long pid);
}
